package com.example.dmgame.fragment;

import com.example.dmgame.R;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;

public class ForumFragment extends Fragment {
	private String url = "http://bbs.3dmgame.com/forum.php";
	WebView webView;
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		View view = inflater.inflate(R.layout.forum_fragment, container, false);
		webView = (WebView)view.findViewById(R.id.forumWebview);
		webView.loadUrl(url);
		return view;
	}

}
